package cn.edu.hnnu.c.rentacar.beans;

import java.io.Serializable;

public class User implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private int userId;
	private String userName;
	private String userIdentity;
	private String userFullName;
	private String userGender;
	private String userAddress;
	private String userPhone;
	private String userPosition;
	private int userLevel;
	private String userPassword;

	public User() {
		
	}

	public User(int userId, String userName, String userIdentity,
			String userFullName, String userGender, String userAddress,
			String userPhone, String userPosition, int userLevel,
			String userPassword) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userIdentity = userIdentity;
		this.userFullName = userFullName;
		this.userGender = userGender;
		this.userAddress = userAddress;
		this.userPhone = userPhone;
		this.userPosition = userPosition;
		this.userLevel = userLevel;
		this.userPassword = userPassword;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserIdentity() {
		return userIdentity;
	}

	public void setUserIdentity(String userIdentity) {
		this.userIdentity = userIdentity;
	}

	public String getUserFullName() {
		return userFullName;
	}

	public void setUserFullName(String userFullName) {
		this.userFullName = userFullName;
	}

	public String getUserGender() {
		return userGender;
	}

	public void setUserGender(String userGender) {
		this.userGender = userGender;
	}

	public String getUserAddress() {
		return userAddress;
	}

	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public String getUserPosition() {
		return userPosition;
	}

	public void setUserPosition(String userPosition) {
		this.userPosition = userPosition;
	}

	public int getUserLevel() {
		return userLevel;
	}

	public void setUserLevel(int userLevel) {
		this.userLevel = userLevel;
	}

	public String getUserPassword() {
		return userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName
				+ ", userIdentity=" + userIdentity + ", userFullName="
				+ userFullName + ", userGender=" + userGender
				+ ", userAddress=" + userAddress + ", userPhone=" + userPhone
				+ ", userPosition=" + userPosition + ", userLevel=" + userLevel
				+ ", userPassword=" + userPassword + "]";
	}

}
